[INFO] cloning repository https://github.com/mats852/ha-store-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mats852/ha-store-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b66edb7e60f2548050a069892454714ebe442b6
[INFO] checking mats852/ha-store-rust against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mats852/ha-store-rust
[INFO] finished tweaking git repo https://github.com/mats852/ha-store-rust
[INFO] tweaked toml for git repo https://github.com/mats852/ha-store-rust written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/mats852/ha-store-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51bae903fc1250637c2be410593bea575f4c6b0207aaa08e7ee2d9c93b134fc6
[INFO] running `Command { std: "docker" "start" "-a" "51bae903fc1250637c2be410593bea575f4c6b0207aaa08e7ee2d9c93b134fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51bae903fc1250637c2be410593bea575f4c6b0207aaa08e7ee2d9c93b134fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51bae903fc1250637c2be410593bea575f4c6b0207aaa08e7ee2d9c93b134fc6", kill_on_drop: false }`
[INFO] [stdout] 51bae903fc1250637c2be410593bea575f4c6b0207aaa08e7ee2d9c93b134fc6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09721339800e9259d9d27c148c1587446722cafe69d75dde82c291293f0e12a0
[INFO] running `Command { std: "docker" "start" "-a" "09721339800e9259d9d27c148c1587446722cafe69d75dde82c291293f0e12a0", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]     Checking lru v0.6.0
[INFO] [stderr]     Checking ha-store-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `ha-store-rust` due to 3 previous errors
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]   --> src/store.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |                 - ^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 inferred to be a `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]    = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function
[INFO] [stdout]   --> src/store.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |            ^^^^^^ ---- `self` is borrowed here
[INFO] [stdout]    |            |
[INFO] [stdout]    |            may outlive borrowed value `self`
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/store.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |       return keys
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 26 | |       .iter()
[INFO] [stdout] 27 | |       .map(|&key| self.get(key))
[INFO] [stdout] 28 | |       .collect::<Vec<_>>();
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(move |&key| self.get(key))
[INFO] [stdout]    |            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]   --> src/store.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |                 - ^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 inferred to be a `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]    = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function
[INFO] [stdout]   --> src/store.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |            ^^^^^^ ---- `self` is borrowed here
[INFO] [stdout]    |            |
[INFO] [stdout]    |            may outlive borrowed value `self`
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/store.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |       return keys
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 26 | |       .iter()
[INFO] [stdout] 27 | |       .map(|&key| self.get(key))
[INFO] [stdout] 28 | |       .collect::<Vec<_>>();
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(move |&key| self.get(key))
[INFO] [stdout]    |            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ha-store-rust` due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "09721339800e9259d9d27c148c1587446722cafe69d75dde82c291293f0e12a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09721339800e9259d9d27c148c1587446722cafe69d75dde82c291293f0e12a0", kill_on_drop: false }`
[INFO] [stdout] 09721339800e9259d9d27c148c1587446722cafe69d75dde82c291293f0e12a0
